home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / smixw130.zip / MAKEFILE < prev    next >
Text File  |  1997-06-06  |  676b  |  30 lines

  1. COPT=-mf -oneatx -zp4 -3r -wx
  2. LOPT=-mf -oneatx -zp4 -3r -wx
  3.  
  4. EXE=mixtest.exe
  5. OBJ=mixtest.obj
  6. LIB=smix.lib
  7.  
  8. # Do a complete rebuild if the makefile has changed
  9. MAK=makefile
  10.  
  11. $(EXE) : $(LIB) $(OBJ) $(MAK)
  12.   wcl386 $(LIB) $(OBJ) /fe=$(EXE) $(LOPT)
  13.  
  14. smix.lib : smix.obj detect.obj lowmem.obj
  15.   wlib smix.lib -+smix.obj -+detect.obj -+lowmem.obj
  16.  
  17. detect.obj : detect.c $(MAK)
  18.   wcc386 detect.c $(COPT)
  19.  
  20. lowmem.obj : lowmem.c $(MAK)
  21.   wcc386 lowmem.c $(COPT)
  22.  
  23. # smix.c MUST be compiled with the -zu compiler switch
  24. smix.obj : smix.c lowmem.h $(MAK)
  25.   wcc386 smix.c $(COPT) -zu
  26.  
  27. mixtest.obj : mixtest.c smix.h detect.h $(MAK)
  28.   wcc386 mixtest.c $(COPT)
  29.  
  30.